package com.green.service.manage;

import java.util.List;
import java.util.Map;

import com.green.common.page.Pagination;
import com.green.model.manage.OperateLog;
import com.green.service.common.BaseService;

public interface OperateLogService extends BaseService{

    public final static String EMPLATE_CONTENT = "{1}由{2}变更为{3}";
    
    public final static String OLD_EMPTY_CONTENT = "{1}添加了{2}";
    
    public final static String NEW_EMPTY_CONTENT = "{1}删除了{2}";
    
    
    
	int insertOperateLog(OperateLog ct);

	int updateOperateLog(OperateLog ct);	

	int deleteOperateLog(Map<String, Object> param);

	OperateLog getOperateLogById(String id);
	
	List<OperateLog> getOperateLogList(Map<String, Object> param);
	
	Pagination<OperateLog> getOperateLogPagination(Pagination<OperateLog> pag,Map<String, Object> param);

	/**
	 * 调用qfang接口记录日志
	 * @param content
	 */
	public void insertQfangIntefaceOperateLog(String content);
}
